﻿<!--_meta 作为公共模版分离出去-->
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
	<meta http-equiv="Cache-Control" content="no-siteapp" />
	<link rel="Bookmark" href="/favicon.ico" >
	<link rel="Shortcut Icon" href="/favicon.ico" />
	<!--[if lt IE 9]>
	<script type="text/javascript" src="lib/html5shiv.js"></script>
	<script type="text/javascript" src="lib/respond.min.js"></script>
	<![endif]-->
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui/css/H-ui.min.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui.admin/css/H-ui.admin.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/lib/Hui-iconfont/1.0.8/iconfont.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui.admin/skin/default/skin.css" id="skin" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/admin/static/h-ui.admin/css/style.css" />
	<!--[if IE 6]>
	<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
	<script>DD_belatedPNG.fix('*');</script>
	<![endif]-->
	<!--/meta 作为公共模版分离出去-->

	<title>添加分类</title>
</head>
<body>
<article class="page-container">
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;"><span class="c-red">*</span>商品名称：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['g_name']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">分类：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['gt_name']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">品牌：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['gb_name']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">排序（倒叙）：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['g_sort']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">是否启用：</label>
		<div class="formControls col-xs-8 col-sm-9 skin-minimal">
			{if condition="$goods['g_status'] eq 1"}
			<div class="radio-box">
				<input name="g_status" type="radio"  value="1" checked>
				<label for="sex-1">启用</label>
			</div>
			{/if}
			{if condition="$goods['g_status'] neq 1"}
			<div class="radio-box">
				<input name="g_status" type="radio"  value="2" checked>
				<label for="sex-2">禁用</label>
			</div>
			{/if}
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">是否首页推荐：</label>
		<div class="formControls col-xs-8 col-sm-9 skin-minimal">
			{if condition="$goods['g_is_index_recommen'] eq 1"}
			<div class="radio-box">
				<input name="g_is_index_recommen" type="radio"  value="1" checked>
				<label for="sex-1">首页推荐</label>
			</div>
			{/if}
			{if condition="$goods['g_is_index_recommen'] neq 1"}
			<div class="radio-box">
				<input name="g_is_index_recommen" type="radio"  value="2" checked>
				<label for="sex-2">不推荐</label>
			</div>
			{/if}
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">图片：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<img src="{$goods['g_img']}" style="width:200px;">
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">详情图片：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<img src="{$goods['g_details_img']}" style="width:80%;">
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">标签：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<dl class="permission-list">

				<dd>
					<dl class="cl permission-list0">
						<dd style="margin-left:0px;">
							{volist name="label" id="v"}
							<label class="">
								<input type="checkbox"  checked value="{$v['gl_id']}"  id="user-Character-0-0-0">
								{$v['gl_name']}
							</label>
							{/volist}
							<!-- <label class="c-orange"><input type="checkbox" name="permissions[]" value="7"  id="user-Character-0-0-5"> 只能操作自己发布的</label> -->
						</dd>
					</dl>
				</dd>
			</dl>
		</div>
	</div>
	<br/>
	<!--<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">产地：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['g_origin_place']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">生成厂家：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['g_manufactor']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">存储方式：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['g_manufactor']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">保质期：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$goods['g_expiry']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">备注：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<textarea name="g_remarks" cols="" rows="" class="textarea"  placeholder="备注" dragonfly="true" disabled>{$goods['g_remarks']}</textarea>

		</div>
	</div>
	<br/>
	<br/>-->
	{volist name="norm" id="v"}
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;"><span class="c-red">*</span>规格名称：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$v['gn_name']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;"><span class="c-red">*</span>售价：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$v['gn_price']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">原价：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$v['gn_old_price']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;"><span class="c-red">*</span>一件总重量(单位kg、千克、公斤)：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" style="width: 100px;" class="input-text" value="{$v['gn_weight']}" placeholder="" disabled>kg
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">库存：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$v['gn_stock']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">单件说明：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" style="width: 100px;" class="input-text" value="{$v['gn_one_number']}" placeholder="如：10个、10等" disabled>/件
		</div>
	</div>
	<br/>
		<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">排序：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$v['gn_sort']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">是否启用：</label>
		<div class="formControls col-xs-8 col-sm-9 skin-minimal">
			{if condition="$v['gn_status'] eq 1"}
			<div class="radio-box">
				<input name="{$key}" type="radio" value="1"  checked>
				<label for="sex-1">启用</label>
			</div>
			{/if}
			{if condition="$v['gn_status'] neq 1"}
			<div class="radio-box">
				<input name="{$key}" type="radio" value="2"  checked>
				<label for="sex-2">禁用</label>
			</div>
			{/if}
		</div>
	</div>
	<br/>
	<br/>
	{/volist}
	{volist name="img" id="v"}
	<br/><div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">展示图片：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<img src="{$v['gi_img']}" style="width:80%;">
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">排序：</label>
		<div class="formControls col-xs-8 col-sm-9">
			<input type="text" class="input-text" value="{$v['gi_sort']}" placeholder="" disabled>
		</div>
	</div>
	<br/>
	<div class="row cl">
		<label class="form-label col-xs-3 col-sm-3" style="text-align:right;">是否启用：</label>
		<div class="formControls col-xs-8 col-sm-9 skin-minimal">
			<div class="radio-box">
				<input name="a{$key}" type="radio" value="1" {if condition="$v['gi_status'] eq 1"}checked{/if}>
				<label for="sex-1">启用</label>
			</div>
			<div class="radio-box">
				<input name="a{$key}" type="radio" value="2" {if condition="$v['gi_status'] neq 1"}checked{/if}>
				<label for="sex-2">禁用</label>
			</div>
		</div>
	</div>
	<br/>
	<br/>
	{/volist}
</article>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="__PUBLIC__/admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/static/h-ui/js/H-ui.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/static/h-ui.admin/js/H-ui.admin.js"></script> <!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__PUBLIC__/admin/lib/jquery.validation/1.14.0/jquery.validate.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/jquery.validation/1.14.0/validate-methods.js"></script>
<script type="text/javascript" src="__PUBLIC__/admin/lib/jquery.validation/1.14.0/messages_zh.js"></script>
<script type="text/javascript">
    $(function(){
        $('.skin-minimal input').iCheck({
            checkboxClass: 'icheckbox-blue',
            radioClass: 'iradio-blue',
            increaseArea: '20%'
        });
    });
</script>
<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>